%html
  %head
    = stylesheet_link_tag 'application'
    = javascript_include_tag 'jquery-1.2.6.min'
    = javascript_include_tag 'application'
    = javascript_include_tag 'loadProject'
    = javascript_include_tag 'hoverMenu'
    = javascript_include_tag 'make'
    %title= APP_NAME
  %body
    .header
      %h1= APP_NAME
      .mainMenu
        %ul
          %li.make
            %a{:class => menu_class('make'), :href => '/'} 制作
            %ul.subMenu.hidden
              - Project::MACROS.each do |macro|
                %li{ :name => macro[:id] }= macro[:name]
          %li.archives
            %a{:class => menu_class('archives'), :href => '/projects'} 下载
          %li.resources
            %a{:class => menu_class('resources'), :href => '/resources'} 资源库
    .mask.hidden
      %a.cancel cancel
      %label.clear
      .loading.hidden
        处理中，请稍候...
      .content.hidden
    .mainBody
      = yield

